package com.sch.study.pattern.FactoryMethod;

/**
 * User: hui_stone
 * Date: 2016/3/13 0013
 * Time: 下午 16:15
 */
public class RichDriver {

    public static void main(String[] args) {
        CarFactory factory = new BenzFactory();
        Car car = factory.produceCar();
        car.drive();
    }
}
